package com.woniuxy.controller;

import com.woniuxy.service.section.SectionService;
import com.woniuxy.util.ResponseData;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/section")
public class SectionController {
    @Resource
    private SectionService sectionService;
    @GetMapping("/querySection")
    public ResponseData<?> querySection(){
        return sectionService.querySection();
    }
}
